A special piece of software called a device driver that is supplied with DOS and allows programs to use a series of special character sequences to change the colour and position of characters displayed on screen. ANSI.SYS also provides extra controls for the keyboard and is used to improve the look of a program.